package com.topisv.tms.repository.sms;

import java.util.List;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
import com.topisv.tms.entity.sms.SmsAccount;

public abstract interface SmsAccountDao extends PagingAndSortingRepository<SmsAccount, Long>, JpaSpecificationExecutor<SmsAccount>
{

	@Query("select t from SmsAccount t where t.customerCode=? ")
	List<SmsAccount> loadByCustomerCode(String customerCode);

}